package com.community.common.pojo.forcamera.response;


import com.community.common.pojo.forcamera.entity.CameraOpenGate;
import com.community.common.pojo.forcamera.entity.CameraPersonAdd;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

@Data
@ToString
@Accessors(chain = true)
@NoArgsConstructor
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
public class CameraOpenGateResVo implements Serializable {

    private static final long serialVersionUID = 5671902978005251340L;

    /**
     * 接口返回结果成功
     */
    private Boolean success;
    /**
     * 消息 id，用于维护消息队列
     */
    private String queueId;
    /**
     * 若返回失败，失败的信息描述
     */
    private String msg;

    /**
     * 相机sn
     */
    private String sn;

    /**
     * Json 对象数组
     */
    private List<CameraOpenGate> data;

}
